import request from './request'

const api = {}
api.getAccountList = data => request.request("/account/list", data, 'POST')


api.getAddToken = data => request.request("/account/token/add", data, 'POST')

api.getInit = data => request.request("/account/init", data, 'POST')

api.getAccountMGList = data => request.requestNext("/account/account/list", data, 'GET')

api.getMerchantList = data => request.request("/account/merchant/list", data, 'POST')

api.getAccountDel = data => request.request("/account/account/del", data, 'GET')

api.getAccountUpdate = data => request.request("/account/account/update", data, 'POST')

api.getAccountAdd = data => request.request("/account/account/add", data, 'POST')

api.getMerchantAdd = data => request.request("/account/merchant/add", data, 'POST')

export default api
